-- GENERATED SPELL FOR [Wailing Highborne] --


function spell0_2178(pUnit, Event) --@Banshee Curse,n/a--
pUnit:FullCastSpellOnTarget(5884,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2178', 14000, 1)
end

function Sorts_2178(pUnit, Event)
local choix_sorts_2178 = math.random(0, 0)
if choix_sorts_2178 == 0 then
pUnit:RegisterEvent('spell0_2178', 1, 1)
end
end

function mob2178_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2178', math.random(1500, 3000), 1)
end

function mob2178_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2178_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2178_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2178, 1, 'mob2178_Action')
RegisterUnitEvent(2178, 2, 'mob2178_Leave')
RegisterUnitEvent(2178, 3, 'mob2178_Kill')
RegisterUnitEvent(2178, 4, 'mob2178_Die')
